package com.tarzan.video.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author liujinshan
 * @title: aaaaa
 * @projectName tarzan-cloud
 * @description: TODO
 * @date 2021-5-23 21:57
 */
public interface VideoService {
    
    /** @title uploadVideo
     * @description TODO 视频上传
     * @param file
     * @return void
     * @throws 
     * @author liujinshan
     * @data 2021/5/24 14:14 
     */
    String uploadVideo(MultipartFile file) throws Exception;

    /**
     * @title deleteVideo
     * @description TODO 删除视频文件
     * @param objectName
     * @return void
     * @author liujinshan
     * @data 2021/6/18 16:12
     */
    void deleteVideo(String objectName);

    /**
     * @title uploadImg
     * @description TODO 上传图片
     * @param file
     * @return java.lang.String
     * @author liujinshan
     * @data 2021/8/19 15:29
     */
    String uploadImg(MultipartFile file);


    String getUrlById(String objectName);
}
